<?php
$new_password = array(
	'name'	=> 'new_password',
	'id'	=> 'new_password',
        'class' => 'input-large',
        'placeholder' => 'Constraseña',  
	'maxlength'	=> $this->config->item('password_max_length', 'tank_auth'),
	'size'	=> 30,
);
$confirm_new_password = array(
	'name'	=> 'confirm_new_password',
	'id'	=> 'confirm_new_password',
        'class' => 'input-large',
        'placeholder' => 'Confirmar Contraseña',
	'maxlength'	=> $this->config->item('password_max_length', 'tank_auth'),
	'size' 	=> 30,
);
$form_atributes = array('class' => 'form-horizontal');
$label_password=array('class' => 'control-label');
$label_confirm_password=array('class' => 'control-label');
$form_submit_atritubes=array('class' => 'btn btn-primary','name'=>'submit','value' => 'Cambiar Contraseña')

?>
<div class="span5 offset4">
         
         <br>
         <br>
         <br>
         <br>
<?php echo form_open($this->uri->uri_string(),$form_atributes); ?>

         <div class="control-group">
             <?php echo form_label('Nueva Contraseña:', $new_password['id'],$label_password); ?>
             <div class="controls">
                 <?php echo form_password($new_password); ?>
             </div>
         </div>
        <?php echo form_error($new_password['name']); ?><?php echo isset($errors[$new_password['name']])?$errors[$new_password['name']]:''; ?>
         <div class="control-group">
             <?php echo form_label('Confirmar Contraseña:', $confirm_new_password['id'],$label_confirm_password); ?>
             <div class="controls">
                 <?php echo form_password($confirm_new_password); ?>
             </div>
         </div>
        <?php echo form_error($confirm_new_password['name']); ?><?php echo isset($errors[$confirm_new_password['name']])?$errors[$confirm_new_password['name']]:''; ?>
         <div class="control-group">
             <div class="controls">
                 <?php echo form_submit($form_submit_atritubes); ?>
             </div>
         </div>
</table>

<?php echo form_close(); ?>

</div>